package com.main.by.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.main.by.entity.vo.NewsInfoVO;

public interface NewsInfoService {
	
	/**
	 * 系统管理员登录
	 * @user Wendel
	 * 2016年1月18日
	 */
	public boolean addNewSInfo(NewsInfoVO news, HttpServletRequest request, HttpServletResponse response) throws Exception;
	
	public List<NewsInfoVO> findAllNews(HttpServletRequest request) throws Exception;
	
	//根据Id查询新闻
	public NewsInfoVO findNewsById(int newsId) throws Exception;
	
	public boolean deleteNewsById(int newsId) throws Exception;
	
}
